#include<iostream>
#include<cstdio>
using namespace std;
int main(){
    int n;
    while(cin>>n){
        if(n==200)cout<<"OK"<<endl;
        else if(n==202)cout<<"Accepted"<<endl;
        else if(n==400)cout<<"Bad Request"<<endl;
        else if(n==403)cout<<"Forbidden"<<endl;
        else if(n==404)cout<<"Not Found"<<endl;
        else if(n==500)cout<<"Internal Server Error"<<endl;
        else cout<<"Bad Gateway"<<endl;
    }
    return 0;
}
